package com.zcoj.core.model;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ApiResponseEnum {
    SUCCESS(200,"请求成功"),

    FAIL(400,"请求失败"),

    ACCESS_DENIED(401,"访问受限"),

    FORBIDDEN(403,"拒绝访问"),

    NOT_FOUND(404,"数据不存在"),

    USER_NOT_LOGGED(405,"用户未登录！"),

    SYSTEM_ERROR(500,"系统错误");


    private Integer code;

    private String message;
}
